<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>index页面</title>
</head>
<body>
<h1>欢迎来到首页！</h1>
<h2 style="color: red;" th:text="${key}"></h2>
<a th:href="@{/user/add}">添加用户</a>
<a th:href="@{/user/edit}">修改用户</a>
<a th:href="@{/shiro/logout}">退出</a>
</body>
</html>
